package design.mode.composite.item2;

/**
 * @author ZhongMingde on 2021/11/4
 */

public abstract class FileSystemNode {

  protected String path;

  public FileSystemNode(String path) {
    this.path = path;
  }

  public abstract int countNumOfFiles();

  public abstract long countSizeOfFiles();

  public String getPath() {
    return path;
  }
}
